//
//  YZBottomView.m
//  kuaiyi
//
//  Created by WGP on 16/5/4.
//
//

#import "YZBottomView.h"

@interface YZBottomView ()

@property (weak, nonatomic) IBOutlet UILabel *countLabel;

@end
@implementation YZBottomView

+(instancetype)bottomView
{
    YZBottomView *bottomView = [[NSBundle mainBundle] loadNibNamed:@"YZBottomView" owner:nil options:nil].lastObject;
    
    NSMutableAttributedString *att = [[NSMutableAttributedString alloc] initWithString:@"24位"];
    [att addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:24] range:NSMakeRange(0, 2)];
    bottomView.countLabel.attributedText = att;
    return bottomView;
}


- (IBAction)applyBtnClick:(UIButton *)sender {
    
    if (self.bottomBtnDidClickBlock) {
        self.bottomBtnDidClickBlock();
    }
}

@end
